<template>
  <div>
    <button >yfuPanel</button>
    <yfu-panel :panelParam="panelParam" v-on:yfuPanelSave="yfuPanelSave">
      <div>
        DEMO
      </div>
    </yfu-panel>
  </div>
</template>
<script type="text/javascript">
  import yfuPanel from '@/components/common/yfuPanel.vue'
  export default {
    components: {
      'yfu-panel': yfuPanel
    },
    methods: {
      yfuPanelSave () {
        console.log('save')
      }
    },
    data () {
      return {
        panelParam: {
          title: '标题',
          width: '20%',
          height: '300px',
          isShowButton: false
        }
      }
    }
  }
</script>
<style>
</style>
